using UnityEngine;
using System;

public class MainUIComponent : MonoBehaviour
{
	public MainUIComponent()
	{
	}


	UIToggle mapToggle = null;
	UIToggle playerToggle = null;
	UIToggle petToggle = null;
	UIToggle itemToggle = null;
	UIToggle mailToggle = null;
	UIToggle photoToggle = null;
	UIToggle systemToggle = null;

	void Awake()
	{
		Transform t = transform.FindChild( "MapSprite" );
		mapToggle = t.GetComponent< UIToggle >();

		t = transform.FindChild( "PlayerSprite" );
		playerToggle = t.GetComponent< UIToggle >();

		t = transform.FindChild( "PetSprite" );
		petToggle = t.GetComponent< UIToggle >();

		t = transform.FindChild( "ItemSprite" );
		itemToggle = t.GetComponent< UIToggle >();

		t = transform.FindChild( "MailSprite" );
		mailToggle = t.GetComponent< UIToggle >();

		t = transform.FindChild( "PhotoSprite" );
		photoToggle = t.GetComponent< UIToggle >();

		t = transform.FindChild( "SystemSprite" );
		systemToggle = t.GetComponent< UIToggle >();

	}

	public void onMapButtonTouch()
	{

	}

	public void onPlayerButtonTouch()
	{
		
	}

	public void onPetButtonTouch()
	{
		
	}
	public void onItemButtonTouch()
	{
		
	}
	public void onMailButtonTouch()
	{
		
	}
	public void onPhotoButtonTouch()
	{
		
	}
	public void onSystemButtonTouch()
	{
		
	}
}

